package com.smiier.skin.net;

import android.content.Context;
import cn.o.app.net.NetTask;

import com.smiier.skin.constant.Constant;
import com.smiier.skin.net.DataTask.DataRequest;
import com.smiier.skin.util.GlobalSettings;

public class DataTask extends NetTask<DataRequest, String> {

	public static class DataRequest extends ORequest {
		public String name;
		public String appname = Constant.APP_NAME;
	}

	@Override
	public void setContext(Context context) {
		super.setContext(context);
		mUrl = GlobalSettings.SERVER_URL + GlobalSettings.SERVER_FIXED_JOIN
				+ "{name}.txt";
	}

}
